package com.woniuxy.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: luojiwei
 * @date: 2020/7/15 20:29
 * @description:
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy //开网关
@EnableFeignClients("com.woniuxy.commons.service")
public class ZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}
